package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物资对象 material
 * 
 * @author ruoyi
 * @date 2023-07-14
 */
public class Material extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 物资名称 */
    @Excel(name = "物资名称")
    private String materialName;

    /** 物资数量 */
    @Excel(name = "物资数量")
    private Long materialNum;

    /** 规格信息 */
    @Excel(name = "规格信息")
    private String specificationInfo;

    /** 规格详情 */
    @Excel(name = "规格详情")
    private String materialDesc;

    /** 是否消耗品 */
    @Excel(name = "是否消耗品")
    private String isConsumables;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setMaterialName(String materialName) 
    {
        this.materialName = materialName;
    }

    public String getMaterialName() 
    {
        return materialName;
    }
    public void setMaterialNum(Long materialNum) 
    {
        this.materialNum = materialNum;
    }

    public Long getMaterialNum() 
    {
        return materialNum;
    }
    public void setSpecificationInfo(String specificationInfo) 
    {
        this.specificationInfo = specificationInfo;
    }

    public String getSpecificationInfo() 
    {
        return specificationInfo;
    }
    public void setMaterialDesc(String materialDesc) 
    {
        this.materialDesc = materialDesc;
    }

    public String getMaterialDesc() 
    {
        return materialDesc;
    }
    public void setIsConsumables(String isConsumables) 
    {
        this.isConsumables = isConsumables;
    }

    public String getIsConsumables() 
    {
        return isConsumables;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("materialName", getMaterialName())
            .append("materialNum", getMaterialNum())
            .append("specificationInfo", getSpecificationInfo())
            .append("materialDesc", getMaterialDesc())
            .append("isConsumables", getIsConsumables())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
